package com.cykj.mapper;

import com.cykj.bean.TbUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    //登录
    public TbUser login(@Param("acc")String acc,@Param("pwd") String pwd);
    public TbUser selectbyAcc(@Param("acc")String acc);
    public int reg(@Param("acc")String acc,@Param("pwd") String pwd,@Param("name") String name);
}
